<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%@page import="com.mishitech.curso.objectDomain.UserVO"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="/WEB-INF/navigationTag.tld" prefix="nav"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'appIndex.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>

	<body>

		<%
			//UserVO userVOAux = new UserVO();
			//userVOAux.setNbProfile("Perfil Ejemplo");
		//<nav:muestraModulo modulo='<bean:write name="usuarioObj" scope="session" property="nbProfile" />' />
		%>
		<%
			//="inicio"
		%>
		<br />

		<bean:write name="usuarioObj" scope="session" property="nbProfile" />
		<br />




		<%
		//<logic:iterate id="userVO" name="listaObj" scope="request" type="com.mishitech.curso.objectDomain.UserVO">
		//	<br />
		//	<bean:write name="userVO" property="nbProfile" />
		//</logic:iterate>
			//
			//	ArrayList lista = (ArrayList) request.getAttribute("listaObj");
			//
			//		Iterator iterator = lista.iterator();
			//	while (iterator.hasNext()) {
			//	UserVO userVO = (UserVO) iterator.next();
		%>
		<%
			//=userVO.getNbProfile()
		%>
		<br />
		<%
			//}
		%>

		<br>


		<html:link action="/sec.do?method=logout" >Cerrar Sesi&oacute;n</html:link>
	</body>
</html>
